import { tableServiceInterface } from "@/common/interface/table.interface";
import {
  $musicSongChords,
  $musicSongChordsList,
  $musicSongChordsDelete,
  $musicSongChordsUpdate,
  $musicSongChordsAdd,
  $musicSongChordsDetail,
} from "@/apis/music/songChords/songChords";
import {
  musicSongChordsListInterface,
  musicSongChordsUpdateInterface,
  musicSongChordsAddInterface,
} from "@/apis/music/songChords/songChords.interface";
export default class ChordsService implements tableServiceInterface {
  async getTable(e: musicSongChordsListInterface): Promise<any> {
    return $musicSongChordsList(e);
  }
  deleteMultiple(e: Array<string>): Promise<any> {
    return $musicSongChordsDelete(e);
  }
  edit(e: musicSongChordsUpdateInterface): Promise<any> {
    return $musicSongChordsUpdate(e);
  }
  add(e: musicSongChordsAddInterface): Promise<any> {
    return $musicSongChordsAdd(e);
  }
  detail(id: string): Promise<any> {
    return $musicSongChordsDetail(id);
  }
  listTree(): Promise<any> {
    return $musicSongChords();
  }
}